@import "params";
@import "single";
@import "map";

html {
  font-size: $base_width / $base_fontSize * 1vw;
  @media screen and (max-width: 1200px) {
    font-size: 120px;
  }
  width: 100%;
  height: 100%;
  min-width: 1200px;
  min-height: 768px;
  background-size: 100% 100%;
}

.app-container{
  background: #000f15;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  .main{
    flex: 1;
    z-index: 9999;
    pointer-events: none;
    .page{
      flex: 1;
      display: flex;
      pointer-events: none;
      .side-bar{
        display: flex;
        flex-direction: column;
        padding-bottom: rem(50);
        position: relative;
        z-index: 9999;
        pointer-events: auto;
        &:before{
          content: '';
          display: block;
          position: absolute;
          height: 100vh;
          width: 150%;
          z-index: 1;
        }
        &.left{
          padding-left: rem(80);
          &:before{
            top: rem(-174);
            left: 0;
            background: linear-gradient(to right, #010c01 40%, rgba(0, 15, 21, 0));

            pointer-events: none;
          }
        }
        &.right{
          padding-right: rem(80);
          &:before{
            top: rem(-174);
            right: 0;
            background: linear-gradient(to left, #010c01 40%, rgba(0, 15, 21, 0));
            pointer-events: none;
          }
        }
        .module{
          position: relative;
          z-index: 2;
          //min-width: rem(450);
          background-color: rgba(255, 255, 255, .1);
          //padding: rem(6) rem(10);
          //box-sizing: border-box;
          & + .module{
            margin-top: rem(40);
          }
        }
      }
      .center{
        flex: 1;
        position: relative;
        z-index: 2;
        pointer-events: none;
      }
    }
  }
}

.page-base{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}
